fbd667
@@ -198,7 +198,7 @@
private void initialize(Table table,
           }
         }
         // set default if columns are not set
-        if (tPartition.getSd().getCols() == null) {
+        if (tPartition.getSd().getCols() == null || tPartition.getSd().getCols().size() == 0) {
           if (table.getCols() != null) {
             tPartition.getSd().setCols(table.getCols());
           }
